package utils;

import java.text.SimpleDateFormat;

/**
 * @ClassName : TimeUtil
 * @Auther : acerolan@foxmail.com
 * @Data : 2024/5/10 10:50
 * @Description :
 */

public class TimeUtil {

    public static String getTime(long time) {
        SimpleDateFormat sf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        return sf.format(time);
    }

}
